drm/amdgpu: fix program vce instance logic error.
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 10 Jan 2017 12:03:59 +0000 (20:03 +0800)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 03:04:50 +0000 (03:04 +0000)
commitb3e573457d9ae65ac16b96a24ffe2c151fa3f6db
tree8b6af15aa257821210433ea3aa7c164ff6028a3f
parent558852ab9b1751a9df7ac95791347c3d12c0f6aa
drm/amdgpu: fix program vce instance logic error.

[ Upstream commit 50a1ebc70a2803deb7811fc73fb55d70e353bc34 ]

need to clear bit31-29 in GRBM_GFX_INDEX,
then the program can be valid.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c